package cn.com.blueInfo.core.param;

import cn.com.blueInfo.config.YamlFileLoader;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

@Data
@Component
@PropertySource(value = "classpath:config/security-manager.yml", factory = YamlFileLoader.class)
@ConfigurationProperties(prefix = "security")
public class SecurityParam {

    private String[] ignored;
    private String clientId;
    private String clientSecret;
    private String redirectUri;
    private String state;
    private Long jwtExpiration;
    private boolean securitySwitch;
    private List<String> corsHost;

}
